package com.xuecheng.content.service;

import com.xuecheng.content.model.po.CourseTeacher;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2024-06-13
 * Time: 21:50
 */
public interface CourseTeacherService {

    /**
     * 根据课程id查询教师信息
     * @param courseId
     * @return
     */
    List<CourseTeacher> getById(String courseId);


    /**
     * 新增，修改教师信息
     * @param courseTeacher
     * @return
     */
    CourseTeacher saveCourseTeacher(CourseTeacher courseTeacher);

    /**
     * 删除教师信息
     * @param courseId
     * @param teacherId
     */
    void deleteCourseTeacher(String courseId, String teacherId);
}
